package org.spring.springboot.app.adv.advfamilylockinfo.service;

import org.spring.springboot.app.adv.advfamilylockinfo.domain.po.AdvFamilyLockInfoPO;
import org.spring.springboot.app.adv.advfamilylockinfo.domain.vo.*;
import org.spring.springboot.app.base.R;
import org.spring.springboot.app.base.User;

import java.util.List;

public interface IAdvFamilyLockInfoService {

    AdvFamilyLockInfoPO find(String id);

    R delete(String id);

    List<AdvFamilyLockInfoPO> findPage(AdvFamilyLockInfoSearchVO searchVO, int pageNum, int pageSize);

    R saveInfo(AdvFamilyLockInfoSaveInVO vo, User user);

    R updateInfo(AdvFamilyLockInfoUpdateInVO vo);

    R pay(String id, User user);

    int profitDivision(String advId);

    R saveSystemInfo(AdvFamilyLockInfoSystemSaveInVO vo, User user);


    List<AdvFamilylockLogVO> findPageLog(AdvFamilylockLogSearchVO searchVO, int pageNum, int pageSize);
}
